<?php 
	
	session_start();
	
	if (isset($_SESSION['cart']))
		$items = $_SESSION['cart'];
	else
	{
		echo '0';exit;
	}
	
	if (empty($items) || (count($items) == 1 && $items['sessionID']))
	{
		// empty
		echo '0';exit;
	}
	else
	{
		echo '1';exit;
	}
?>